namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("RC_SAMPLING")]
    public partial class RC_SAMPLING
    {
        [Key]
        [StringLength(40)]
        public string SAMPLING_ID { get; set; }

        [StringLength(40)]
        public string PROCESS_ID { get; set; }

        public int? SAMPLING_POINTS { get; set; }

        public int? SAMPLE_PAIL { get; set; }

        public int? SAMPLING_TYPE { get; set; }

        public  int? LAYOUT_TYPE { get; set; }

        public DateTime? SAMPLING_BEGIN_TIME { get; set; }

        public DateTime? SAMPLING_END_TIME { get; set; }

        public int? SAMPLING_STATUS { get; set; }

        [StringLength(40)]
        public string SAMPLING_NODE_ID { get; set; }

        [StringLength(40)]
        public string SAMPLING_USER_ID { get; set; }

        [StringLength(50)]
        public string RFID { get; set; }

        [StringLength(40)]
        public string SAMPLE_CODE { get; set; }

        public decimal? SAMPLE_WEIGHT { get; set; }

        public bool? REVICED { get; set; }

        public bool? BLENDED { get; set; }

        public bool? MADE { get; set; }

        public virtual RC_PROCESS RC_PROCESS { get; set; }

        public virtual RC_SAMPLING_IMAGE RC_SAMPLING_IMAGE { get; set; }

        public virtual RC_SAMPLING_POINT RC_SAMPLING_POINT { get; set; }
    }
}
